package com.jsyl.entity.core;

import java.io.Serializable;

import com.jsyl.entity.common.BaseEntity;
import com.jsyl.entity.common.orm.annotation.Column;
import com.jsyl.entity.common.orm.annotation.Entity;
import com.jsyl.entity.common.orm.annotation.Id;
/**
 * 系统附件实体
 * @author song
 *
 */
@Entity(table = "NF_ATTACHMENT")
public class Attachment extends BaseEntity implements Serializable {

	private static final long serialVersionUID = -5929495862137200230L;
	
	@Id
	@Column("ID")
	private int id;
	
	/*所属标的编号*/
	@Column("LOAN_ID")
	private Integer loanId;
	
	/*所属用户编号*/
	@Column("USER_ID")
	private Integer userId;
	
	/*源文件名称*/
	@Column("SOURCE_NAME")
	private String sourceName;
	
	/*新文件名称*/
	@Column("NEW_NAME")
	private String newName;
	
	/*附件地址*/
	@Column("URL")
	private String url;
	
	/*文件类型*/
	@Column("FILE_TYPE")
	private String fileType;
	
	/*状态  文件是否可用 默认 0 可用*/
	@Column("STATUS")
	private Integer status;
	
	/*排序*/
	@Column("ORDERS")
	private Integer orders;
	
	/* 添加时间*/
	@Column("ADDTIME")
	private String addTime;
	 
	@Override
	public Serializable getId() {
		// TODO Auto-generated method stub
		return null;
	}

}
